package demo.icanci.generic;

/**
 * @author icanci
 * @date Created in 2021/02/04 22:50
 * @version 1.0
 */
public class GenericSampleImpl implements GenericSample<Integer> {
    @Override
    public Integer getTargetClass() {
        return null;
    }

    @Override
    public Integer getSum(Integer[] t) {
        int sum = 0;
        for (Integer integer : t) {
            sum += integer;
        }
        return sum;
    }
}
